home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / optimize.arc / OPTIMIZE.DOC next >
Encoding:
Text File  |  1985-12-14  |  4.8 KB  |  124 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                  OPTIMIZE.EXE
  8.  
  9.          - Written in ASSEMBLY language by Mark Desmery.  Developed on
  10.          an IBM PC with 640K using a 360K RAM disk. Tested on an IBM
  11.          AT with 512K using a 20 megabyte hard disk.  November 1985.
  12.  
  13.          External Documentation:
  14.               This program collects the various sectors of a file and
  15.          places them together on a disk.  When DOS writes a file to
  16.          disk it places the information in the first available sector.
  17.          This means that all the sectors of a file may not be
  18.          continuous if any erasure of previous files has occurred.
  19.          Eventually this method of file storage leads to a noticeable
  20.          decrease in disk speed.
  21.               OPTIMIZE.EXE reads each file of the current directory on
  22.          the default drive and copies it into a sub-directory it
  23.          creates called C:\MCD1985.  Therefore this program will not
  24.          run unless a hard disk or RAM disk is present as drive C:.
  25.          Any file which is copied correctly is removed from the
  26.          default drive at this time.  If the file does not copy
  27.          correctly it is removed from the temporary sub-directory.
  28.          Next, each file on the temporary sub-directory is copied back
  29.          onto the default drive.  This means that those files which
  30.          OPTIMIZE.EXE has trouble moving (i.e. some proprietary and
  31.          copy-protected software), will not be touched.  Hidden,
  32.          System, Read-Only, and files in other sub-directories are
  33.          not moved.  This is important because certain copy-protected
  34.          programs look for information in specific disk sectors.
  35.               When the program is run it displays the name of the file
  36.          being moved and its file handle.  It also displays where the
  37.          file is being moved to.  The double or single-headed arrow
  38.          tells you if the file is being moved back or not.  When
  39.          OPTIMIZE.EXE has trouble moving a file, it beeps and skips a
  40.          line.  This does not mean an error has occurred, it just
  41.          means that those particular files will not be moved.  This
  42.          may cause other files to be split by the unmoved files, but
  43.          disk performance should still be improved.  If an error does
  44.          occur during DISK OPTIMIZATION the results can be disastrous.
  45.          If a RAM disk is being used and the system crashes, there may
  46.          be no way to recover the files which have already been copied
  47.          onto the sub-directory and removed from the default drive.
  48.          this is why the TEST PROGRAM should always be run before
  49.          attempting optimization.  The TEST PROGRAM performs the same
  50.          way, but it never removes the original files, and copies the
  51.          results into another sub-directory called C:\TESTDIR7.  These
  52.          files are either removed or saved depending on the choice
  53.          made from the main menu.  If error messages are given, or the
  54.          system crashes, then the disk should not be optimized.  I
  55.          have found very few files which will crash the system, but it
  56.          has occurred.  If the TEST PROGRAM is run first, and the
  57.          results are checked by comparing the files and running the
  58.          programs in the test directory, then OPTIMIZE.EXE will be a
  59.          useful utility.  If it is used carelessly it can destroy an
  60.          entire hard disk in a flash.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.          Instructions for Use:
  75.               This program will always act on the default drive!!!
  76.  
  77.          B>a:optimize
  78.          will act on drive B: if OPTIMIZE.EXE is on drive A:
  79.  
  80.          C>optimize
  81.          will act on drive C: if OPTIMIZE.EXE is on drive C:
  82.  
  83.          ** TAKE NOTE **
  84.          C>a:optimize b:
  85.          will act on drive C: if OPTIMIZE.EXE is on drive A:
  86.  
  87.          It always acts on the default drive!!!
  88.  
  89.  
  90.          *** This program is distributed under the FREEWARE Concept.
  91.          It is yours to use or modify as you desire.  You are
  92.          welcome to distribute it as long as no fee is charged.
  93.          The author will not be held responsible for any damages
  94.          which may occur.  If you find the program useful
  95.          please send a donation or comment to the following
  96.          address:
  97.  
  98.                         Saturn Software
  99.                         c/o Mark Desmery
  100.                         10 Idlewild Park Dr.
  101.                         Cornwall-on-Hudson, NY  12520
  102.  
  103.          This will allow the author to continue to write software.
  104.          Contributors are entitled to free updates and other
  105.          program titles.  Source code and explanation are also
  106.          available upon request.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.